import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import dayjs from 'dayjs'
import Vue3EasyDataTable from 'vue3-easy-data-table'
// 引入animate.css
import animated from 'animate.css'

import 'vue3-easy-data-table/dist/style.css'
import 'normalize.css'
import '@/assets/styles/common.less'
import '@/assets/fonts/font.less'
import '@/assets/fonts/iconfont.css'

const app = createApp(App)
app.use(store).use(router).use(animated).mount('#app')

app.config.globalProperties.day = dayjs
app.component('EasyDataTable', Vue3EasyDataTable)
